<script setup>

import PcMain from "@/components/pc/pc-main.vue";
import {useRoute, useRouter} from "vue-router";

const router = useRouter()
const video_click = (item) => {
  router.push('/video')
}
</script>

<template>
  <div class="w-full h-svh flex">
    <pc-main/>
    <div class="flex flex-wrap justify-center *:m-5 *:cursor-pointer">
      <template v-for="i in 20">
        <el-card style="width: 300px" @click="video_click(i)">
          <el-image class="w-full" src="/cover.jpg"/>
          <div class="flex justify-center items-center">视频名称</div>
        </el-card>
      </template>
    </div>
  </div>
</template>

<style scoped>

</style>